
package DAO;

import java.util.List;
import org.apache.commons.mail.EmailException;
import org.hibernate.HibernateException;

public abstract class BaseDAO<T> {
    
    public abstract void save(T entity) throws EmailException;
    public abstract List<T> list();
    public abstract void update(T entity);
    public abstract void remove(T entity);
    public abstract boolean consult(String name);
}
